package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by ${wushenglu} on 2018/3/13.
 */
@Table(name = "t_reservation_order")
public class ReservationOrder extends BaseEntity {

    private Integer id;
    /**
     * 用户id
     **/
    private Integer goodsId;
    /**
     * 预约订单的消费状态   0未消费   1用户已确认消费  2已消费 3已退款
     **/
    private Integer orderState;
    /**
     * 用户消费时间确认时间
     **/
    private Date userConsumeTime;
    /**
     * 用户消费时间确认时间
     **/
    private Date companyConsumeTime;
    /**
     * 订单编号
     **/
    private String orderNumber;
    /**
     * 商品名称
     **/
    private String goodsName;
    /**
     * 商品规格
     **/
    private String goodsSpec;
    /**
     * 单位价格
     **/
    private BigDecimal goodsUnivalent;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Date getUserConsumeTime() {
        return userConsumeTime;
    }

    public void setUserConsumeTime(Date userConsumeTime) {
        this.userConsumeTime = userConsumeTime;
    }

    public Date getCompanyConsumeTime() {
        return companyConsumeTime;
    }

    public void setCompanyConsumeTime(Date companyConsumeTime) {
        this.companyConsumeTime = companyConsumeTime;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public BigDecimal getGoodsUnivalent() {
        return goodsUnivalent;
    }

    public void setGoodsUnivalent(BigDecimal goodsUnivalent) {
        this.goodsUnivalent = goodsUnivalent;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }
}
